<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ContainsAlphanumberic
 *
 * @author bien.tran
 */
namespace Blog\BlogBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
class ContainsAlphanumberic extends Constraint{
    public $message = 'The string "%string%" contains an illegal character: it can only contain letters or numbers.';
    public function validatedBy() {
        return 'blog_alphanumberic';
    }
}
?>
